package com.sy.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("企业类目")
public class EnterpriseCategory {
    @ApiModelProperty(value = "企业id，修改时不允许为空")
    int id;
    @ApiModelProperty(hidden = true)
    String code;
    @ApiModelProperty("类目名称")
    String name;
    @ApiModelProperty("上级类别")
    int parentId;
    @ApiModelProperty(value = "企业数量",hidden = true)
    int enterpriseNum;
    @ApiModelProperty("状态：1.启动，2.禁用")
    int status;
    @ApiModelProperty(value = "添加日期",hidden = true)
    String createTime;
}
